home *** CD-ROM | disk | FTP | other *** search
/ Australian Personal Computer 2004 July / APC0407D2.iso / workshop / onlineco / files / ImageMagick-6.0.1-Q16-windows-dll.exe / {app} / include / magick / utility.h < prev    next >
Encoding:
C/C++ Source or Header  |  2004-02-21  |  1.3 KB  |  60 lines

  1. /*
  2.   ImageMagick Utility Methods.
  3. */
  4. #ifndef _MAGICK_UTILITY_H
  5. #define _MAGICK_UTILITY_H
  6.  
  7. #if defined(__cplusplus) || defined(c_plusplus)
  8. extern "C" {
  9. #endif
  10.  
  11. #if !defined(__attribute__)
  12. #  define __attribute__(x) /*nothing*/
  13. #endif
  14.  
  15. typedef enum
  16. {
  17.   UndefinedPath,
  18.   MagickPath,
  19.   RootPath,
  20.   HeadPath,
  21.   TailPath,
  22.   BasePath,
  23.   ExtensionPath,
  24.   SubimagePath,
  25.   CanonicalPath
  26. } PathType;
  27.  
  28. extern MagickExport char
  29.   *Base64Encode(const unsigned char *,const size_t,size_t *),
  30.   **ListFiles(const char *,const char *,unsigned long *),
  31.   *TranslateText(const ImageInfo *,Image *,const char *);
  32.  
  33. extern MagickExport int
  34.   SystemCommand(const unsigned int,const char *);
  35.  
  36. extern MagickExport unsigned char
  37.   *Base64Decode(const char *, size_t *);
  38.  
  39. extern MagickExport unsigned int
  40.   AcquireUniqueFilename(char *),
  41.   ExpandFilenames(int *,char ***),
  42.   GetExecutionPath(char *),
  43.   IsAccessible(const char *);
  44.  
  45. extern MagickExport unsigned long
  46.   MultilineCensus(const char *);
  47.  
  48. extern MagickExport void
  49.   AppendImageFormat(const char *,char *),
  50.   ChopPathComponents(char *,const unsigned long),
  51.   ExpandFilename(char *),
  52.   FormatSize(const MagickSizeType,char *),
  53.   GetPathComponent(const char *,PathType,char *);
  54.  
  55. #if defined(__cplusplus) || defined(c_plusplus)
  56. }
  57. #endif
  58.  
  59. #endif
  60.